package com.pigs.pigsordersystem.service;

import com.pigs.pigsordersystem.entity.InventoryEntity;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 * 库存 service 接口
 *
 * @author Y.yang
 * @since 2020-03-14
 */
public interface IInventoryService extends IService<InventoryEntity> {

    /**
     * 修改 库存 数量
     *
     * @param inventoryNum
     * @param productId
     * @return
     */
    public Integer updateInventoryNum(Integer inventoryNum, Integer productId,String inventoryUpdateTime);
}
